package com.thysdy.flowable.enums;

public enum CodeEnum {
    success(0, "SUCCESS！"),
    commonException(-1, "exception！"),
    paramError(-1, "参数错误！");
    private Integer code;

    private String message;

    CodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
